<%@page import="Entities.*"%>
<%@page import="Helpers.*"%>
<%@page import="Hibernate.*"%>
<%@page import="java.util.*"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@include file="../../views/header.jsp" %>
<%@include file="../../views/mainMenu.jsp" %>
<%@include file="../../views/userMenu.jsp" %>
<%@include file="../../views/cntColumnOpen.jsp" %>

        <%
            String id = request.getParameter("id");

            CursusHelper cHelper = new CursusHelper();
            Cursussen cursus = cHelper.getCursus(Integer.parseInt(id));


            cHelper.deleteCursus(cursus);

            response.sendRedirect("showCursussen.jsp");

       %>

<%@include file="../../views/cntColumnRight.jsp" %>
<%@include file="../../views/footer.jsp" %>